const sonPage = [
    //首页
    {
        path: '/home',
        name: 'home',
        meta: { title: '首页' },
        component: () => import('@/views/home/Home.vue'),
    },
    //用户中心
    {
        path: '/UserCenter',
        name: 'UserCenter',
        meta: { title: '用户中心' },
        component: () => import('@/views/userCenter/index.vue'),
        children: [
            {
                path: 'limitsOfAuthority',
                name: 'limitsOfAuthority',
                meta: { title: '权限' },
                component: () => import('@/views/userCenter/limitsOfAuthority/limitsOfAuthority.vue')
            },
            {
                path: 'role',
                name: 'role',
                meta: { title: '角色' },
                component: () => import('@/views/userCenter/role/role.vue')
            },
        ]
    },
    //用户管理
    {
        path: '/userManage',
        name: 'userManage',
        meta: { title: '用户管理' },
        component: () => import('@/views/userManage/index.vue'),
        children: [
            {
                path: 'userInfo',
                name: 'userInfo',
                meta: { title: '用户信息' },
                component: () => import('@/views/userManage/userInfo/userInfo.vue')
            }
        ]
    },
    //上传模块
    {
        path: '/uploading',
        name: 'uploading',
        meta: { title: '上传模块' },
        component: () => import('@/views/uploading/index.vue'),
        children: [
                {
                    path: 'photoWall',
                    name: 'photoWall',
                    meta: { title: '照片墙' },
                    component: () => import('@/views/uploading/photoWall/photoWall.vue')
                },
        ]
    },
    //系统工具
    {
        path: '/systemTools',
        name: 'systemTools',
        meta: { title: '系统工具' },
        component: () => import('@/views/systemTools/index.vue'),
        children: [
            {
                path: 'richTextEditor',
                name: 'richTextEditor',
                meta: { title: '富文本编辑器' },
                component: () => import('@/views/systemTools/richTextEditor/richTextEditor.vue')
            },
        ]
    },
]

export default sonPage